import React from 'react';

import './style/';

class Icon extends React.Component {
    render() {
        const bgc = ['#ce0804', '#00c900', '#a93397', '#008eee', '#ee7c16'];

        return (
            <div className="portal-com-icon">
                <div className="portal-com-icon-img" style={{backgroundColor: bgc[Math.round(Math.random() * 4)]}}/>
                <span className="portal-com-icon-title">文档中心</span>
            </div>
        );
    }
}

export default Icon;